﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace Snowdreamist.Diagnostics.Configuration
{
    public class LogConfig : ConfigurationElement, ILogConfig
    {
        [ConfigurationProperty("runtimeLogWatcherEnabled", IsKey = false, IsRequired = false, DefaultValue = false)]
        public bool RuntimeLogWatcherEnabled
        {
            get
            {
                return (bool)this["runtimeLogWatcherEnabled"];
            }
            set
            {
                this["runtimeLogWatcherEnabled"] = value;
            }
        }
    }
}